package module.model;

import common.model.BaseModel;
import org.hibernate.annotations.Proxy;

import javax.persistence.*;
import java.util.Date;

/**
 * 康复师
 */
@Entity
@Table(name = "rehabilitation_teacher")
@Proxy(lazy = false)
@SqlResultSetMappings(value = { @SqlResultSetMapping(name = "RehabilitationTeacherModelMapping", entities = { @EntityResult(entityClass = RehabilitationTeacherModel.class) }) })
public class RehabilitationTeacherModel extends BaseModel {
    @Id
    @GeneratedValue(strategy = GenerationType.AUTO)
    @Column(name = "REHABILITATION_TEACHER_ID")
    private Long rehabilitationTeacher;

    @Column(name = "SERVICE_ID")
    private Long serviceId;

    @Column(name = "FULL_NAME")
    private String fullName;

    @Column(name = "CREATE_TIME")
    private Date createDate;

    public Long getRehabilitationTeacher() {
        return rehabilitationTeacher;
    }

    public void setRehabilitationTeacher(Long rehabilitationTeacher) {
        this.rehabilitationTeacher = rehabilitationTeacher;
    }

    public Long getServiceId() {
        return serviceId;
    }

    public void setServiceId(Long serviceId) {
        this.serviceId = serviceId;
    }

    public String getFullName() {
        return fullName;
    }

    public void setFullName(String fullName) {
        this.fullName = fullName;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }
}
